package coreservlets;

/**
 * Simple bean to illustrate sharing beans through use of the scope attribute of
 * jsp:useBean.
 */
public class AccessCountBean {
	private String firstPage;
	private int accessCount = 1;

	public String getFirstPage() {
		return (firstPage);
	}

	public void setFirstPage(String firstPage) {
		this.firstPage = firstPage;
	}

	public int getAccessCount() {
		return (accessCount);
	}

	public void setAccessCountIncrement(int increment) {
		accessCount = accessCount + increment;
	}
}
